package cn.com.lsy.product.lepao.model.entities;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class LpDataTotalTblExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LpDataTotalTblExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNewRegisterIsNull() {
            addCriterion("new_register is null");
            return (Criteria) this;
        }

        public Criteria andNewRegisterIsNotNull() {
            addCriterion("new_register is not null");
            return (Criteria) this;
        }

        public Criteria andNewRegisterEqualTo(BigDecimal value) {
            addCriterion("new_register =", value, "newRegister");
            return (Criteria) this;
        }

        public Criteria andNewRegisterNotEqualTo(BigDecimal value) {
            addCriterion("new_register <>", value, "newRegister");
            return (Criteria) this;
        }

        public Criteria andNewRegisterGreaterThan(BigDecimal value) {
            addCriterion("new_register >", value, "newRegister");
            return (Criteria) this;
        }

        public Criteria andNewRegisterGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("new_register >=", value, "newRegister");
            return (Criteria) this;
        }

        public Criteria andNewRegisterLessThan(BigDecimal value) {
            addCriterion("new_register <", value, "newRegister");
            return (Criteria) this;
        }

        public Criteria andNewRegisterLessThanOrEqualTo(BigDecimal value) {
            addCriterion("new_register <=", value, "newRegister");
            return (Criteria) this;
        }

        public Criteria andNewRegisterIn(List<BigDecimal> values) {
            addCriterion("new_register in", values, "newRegister");
            return (Criteria) this;
        }

        public Criteria andNewRegisterNotIn(List<BigDecimal> values) {
            addCriterion("new_register not in", values, "newRegister");
            return (Criteria) this;
        }

        public Criteria andNewRegisterBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("new_register between", value1, value2, "newRegister");
            return (Criteria) this;
        }

        public Criteria andNewRegisterNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("new_register not between", value1, value2, "newRegister");
            return (Criteria) this;
        }

        public Criteria andEnterTotalIsNull() {
            addCriterion("enter_total is null");
            return (Criteria) this;
        }

        public Criteria andEnterTotalIsNotNull() {
            addCriterion("enter_total is not null");
            return (Criteria) this;
        }

        public Criteria andEnterTotalEqualTo(BigDecimal value) {
            addCriterion("enter_total =", value, "enterTotal");
            return (Criteria) this;
        }

        public Criteria andEnterTotalNotEqualTo(BigDecimal value) {
            addCriterion("enter_total <>", value, "enterTotal");
            return (Criteria) this;
        }

        public Criteria andEnterTotalGreaterThan(BigDecimal value) {
            addCriterion("enter_total >", value, "enterTotal");
            return (Criteria) this;
        }

        public Criteria andEnterTotalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("enter_total >=", value, "enterTotal");
            return (Criteria) this;
        }

        public Criteria andEnterTotalLessThan(BigDecimal value) {
            addCriterion("enter_total <", value, "enterTotal");
            return (Criteria) this;
        }

        public Criteria andEnterTotalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("enter_total <=", value, "enterTotal");
            return (Criteria) this;
        }

        public Criteria andEnterTotalIn(List<BigDecimal> values) {
            addCriterion("enter_total in", values, "enterTotal");
            return (Criteria) this;
        }

        public Criteria andEnterTotalNotIn(List<BigDecimal> values) {
            addCriterion("enter_total not in", values, "enterTotal");
            return (Criteria) this;
        }

        public Criteria andEnterTotalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("enter_total between", value1, value2, "enterTotal");
            return (Criteria) this;
        }

        public Criteria andEnterTotalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("enter_total not between", value1, value2, "enterTotal");
            return (Criteria) this;
        }

        public Criteria andDayCardEnterTotalIsNull() {
            addCriterion("day_card_enter_total is null");
            return (Criteria) this;
        }

        public Criteria andDayCardEnterTotalIsNotNull() {
            addCriterion("day_card_enter_total is not null");
            return (Criteria) this;
        }

        public Criteria andDayCardEnterTotalEqualTo(BigDecimal value) {
            addCriterion("day_card_enter_total =", value, "dayCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andDayCardEnterTotalNotEqualTo(BigDecimal value) {
            addCriterion("day_card_enter_total <>", value, "dayCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andDayCardEnterTotalGreaterThan(BigDecimal value) {
            addCriterion("day_card_enter_total >", value, "dayCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andDayCardEnterTotalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("day_card_enter_total >=", value, "dayCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andDayCardEnterTotalLessThan(BigDecimal value) {
            addCriterion("day_card_enter_total <", value, "dayCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andDayCardEnterTotalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("day_card_enter_total <=", value, "dayCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andDayCardEnterTotalIn(List<BigDecimal> values) {
            addCriterion("day_card_enter_total in", values, "dayCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andDayCardEnterTotalNotIn(List<BigDecimal> values) {
            addCriterion("day_card_enter_total not in", values, "dayCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andDayCardEnterTotalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("day_card_enter_total between", value1, value2, "dayCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andDayCardEnterTotalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("day_card_enter_total not between", value1, value2, "dayCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andMonthCardEnterTotalIsNull() {
            addCriterion("month_card_enter_total is null");
            return (Criteria) this;
        }

        public Criteria andMonthCardEnterTotalIsNotNull() {
            addCriterion("month_card_enter_total is not null");
            return (Criteria) this;
        }

        public Criteria andMonthCardEnterTotalEqualTo(BigDecimal value) {
            addCriterion("month_card_enter_total =", value, "monthCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andMonthCardEnterTotalNotEqualTo(BigDecimal value) {
            addCriterion("month_card_enter_total <>", value, "monthCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andMonthCardEnterTotalGreaterThan(BigDecimal value) {
            addCriterion("month_card_enter_total >", value, "monthCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andMonthCardEnterTotalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("month_card_enter_total >=", value, "monthCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andMonthCardEnterTotalLessThan(BigDecimal value) {
            addCriterion("month_card_enter_total <", value, "monthCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andMonthCardEnterTotalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("month_card_enter_total <=", value, "monthCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andMonthCardEnterTotalIn(List<BigDecimal> values) {
            addCriterion("month_card_enter_total in", values, "monthCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andMonthCardEnterTotalNotIn(List<BigDecimal> values) {
            addCriterion("month_card_enter_total not in", values, "monthCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andMonthCardEnterTotalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("month_card_enter_total between", value1, value2, "monthCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andMonthCardEnterTotalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("month_card_enter_total not between", value1, value2, "monthCardEnterTotal");
            return (Criteria) this;
        }

        public Criteria andCouponEnterTotalIsNull() {
            addCriterion("coupon_enter_total is null");
            return (Criteria) this;
        }

        public Criteria andCouponEnterTotalIsNotNull() {
            addCriterion("coupon_enter_total is not null");
            return (Criteria) this;
        }

        public Criteria andCouponEnterTotalEqualTo(BigDecimal value) {
            addCriterion("coupon_enter_total =", value, "couponEnterTotal");
            return (Criteria) this;
        }

        public Criteria andCouponEnterTotalNotEqualTo(BigDecimal value) {
            addCriterion("coupon_enter_total <>", value, "couponEnterTotal");
            return (Criteria) this;
        }

        public Criteria andCouponEnterTotalGreaterThan(BigDecimal value) {
            addCriterion("coupon_enter_total >", value, "couponEnterTotal");
            return (Criteria) this;
        }

        public Criteria andCouponEnterTotalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("coupon_enter_total >=", value, "couponEnterTotal");
            return (Criteria) this;
        }

        public Criteria andCouponEnterTotalLessThan(BigDecimal value) {
            addCriterion("coupon_enter_total <", value, "couponEnterTotal");
            return (Criteria) this;
        }

        public Criteria andCouponEnterTotalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("coupon_enter_total <=", value, "couponEnterTotal");
            return (Criteria) this;
        }

        public Criteria andCouponEnterTotalIn(List<BigDecimal> values) {
            addCriterion("coupon_enter_total in", values, "couponEnterTotal");
            return (Criteria) this;
        }

        public Criteria andCouponEnterTotalNotIn(List<BigDecimal> values) {
            addCriterion("coupon_enter_total not in", values, "couponEnterTotal");
            return (Criteria) this;
        }

        public Criteria andCouponEnterTotalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("coupon_enter_total between", value1, value2, "couponEnterTotal");
            return (Criteria) this;
        }

        public Criteria andCouponEnterTotalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("coupon_enter_total not between", value1, value2, "couponEnterTotal");
            return (Criteria) this;
        }

        public Criteria andNewMonthCardTotalIsNull() {
            addCriterion("new_month_card_total is null");
            return (Criteria) this;
        }

        public Criteria andNewMonthCardTotalIsNotNull() {
            addCriterion("new_month_card_total is not null");
            return (Criteria) this;
        }

        public Criteria andNewMonthCardTotalEqualTo(BigDecimal value) {
            addCriterion("new_month_card_total =", value, "newMonthCardTotal");
            return (Criteria) this;
        }

        public Criteria andNewMonthCardTotalNotEqualTo(BigDecimal value) {
            addCriterion("new_month_card_total <>", value, "newMonthCardTotal");
            return (Criteria) this;
        }

        public Criteria andNewMonthCardTotalGreaterThan(BigDecimal value) {
            addCriterion("new_month_card_total >", value, "newMonthCardTotal");
            return (Criteria) this;
        }

        public Criteria andNewMonthCardTotalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("new_month_card_total >=", value, "newMonthCardTotal");
            return (Criteria) this;
        }

        public Criteria andNewMonthCardTotalLessThan(BigDecimal value) {
            addCriterion("new_month_card_total <", value, "newMonthCardTotal");
            return (Criteria) this;
        }

        public Criteria andNewMonthCardTotalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("new_month_card_total <=", value, "newMonthCardTotal");
            return (Criteria) this;
        }

        public Criteria andNewMonthCardTotalIn(List<BigDecimal> values) {
            addCriterion("new_month_card_total in", values, "newMonthCardTotal");
            return (Criteria) this;
        }

        public Criteria andNewMonthCardTotalNotIn(List<BigDecimal> values) {
            addCriterion("new_month_card_total not in", values, "newMonthCardTotal");
            return (Criteria) this;
        }

        public Criteria andNewMonthCardTotalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("new_month_card_total between", value1, value2, "newMonthCardTotal");
            return (Criteria) this;
        }

        public Criteria andNewMonthCardTotalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("new_month_card_total not between", value1, value2, "newMonthCardTotal");
            return (Criteria) this;
        }

        public Criteria andPaymentDepositIsNull() {
            addCriterion("payment_deposit is null");
            return (Criteria) this;
        }

        public Criteria andPaymentDepositIsNotNull() {
            addCriterion("payment_deposit is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentDepositEqualTo(BigDecimal value) {
            addCriterion("payment_deposit =", value, "paymentDeposit");
            return (Criteria) this;
        }

        public Criteria andPaymentDepositNotEqualTo(BigDecimal value) {
            addCriterion("payment_deposit <>", value, "paymentDeposit");
            return (Criteria) this;
        }

        public Criteria andPaymentDepositGreaterThan(BigDecimal value) {
            addCriterion("payment_deposit >", value, "paymentDeposit");
            return (Criteria) this;
        }

        public Criteria andPaymentDepositGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("payment_deposit >=", value, "paymentDeposit");
            return (Criteria) this;
        }

        public Criteria andPaymentDepositLessThan(BigDecimal value) {
            addCriterion("payment_deposit <", value, "paymentDeposit");
            return (Criteria) this;
        }

        public Criteria andPaymentDepositLessThanOrEqualTo(BigDecimal value) {
            addCriterion("payment_deposit <=", value, "paymentDeposit");
            return (Criteria) this;
        }

        public Criteria andPaymentDepositIn(List<BigDecimal> values) {
            addCriterion("payment_deposit in", values, "paymentDeposit");
            return (Criteria) this;
        }

        public Criteria andPaymentDepositNotIn(List<BigDecimal> values) {
            addCriterion("payment_deposit not in", values, "paymentDeposit");
            return (Criteria) this;
        }

        public Criteria andPaymentDepositBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("payment_deposit between", value1, value2, "paymentDeposit");
            return (Criteria) this;
        }

        public Criteria andPaymentDepositNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("payment_deposit not between", value1, value2, "paymentDeposit");
            return (Criteria) this;
        }

        public Criteria andRefundDepositIsNull() {
            addCriterion("refund_deposit is null");
            return (Criteria) this;
        }

        public Criteria andRefundDepositIsNotNull() {
            addCriterion("refund_deposit is not null");
            return (Criteria) this;
        }

        public Criteria andRefundDepositEqualTo(BigDecimal value) {
            addCriterion("refund_deposit =", value, "refundDeposit");
            return (Criteria) this;
        }

        public Criteria andRefundDepositNotEqualTo(BigDecimal value) {
            addCriterion("refund_deposit <>", value, "refundDeposit");
            return (Criteria) this;
        }

        public Criteria andRefundDepositGreaterThan(BigDecimal value) {
            addCriterion("refund_deposit >", value, "refundDeposit");
            return (Criteria) this;
        }

        public Criteria andRefundDepositGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("refund_deposit >=", value, "refundDeposit");
            return (Criteria) this;
        }

        public Criteria andRefundDepositLessThan(BigDecimal value) {
            addCriterion("refund_deposit <", value, "refundDeposit");
            return (Criteria) this;
        }

        public Criteria andRefundDepositLessThanOrEqualTo(BigDecimal value) {
            addCriterion("refund_deposit <=", value, "refundDeposit");
            return (Criteria) this;
        }

        public Criteria andRefundDepositIn(List<BigDecimal> values) {
            addCriterion("refund_deposit in", values, "refundDeposit");
            return (Criteria) this;
        }

        public Criteria andRefundDepositNotIn(List<BigDecimal> values) {
            addCriterion("refund_deposit not in", values, "refundDeposit");
            return (Criteria) this;
        }

        public Criteria andRefundDepositBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refund_deposit between", value1, value2, "refundDeposit");
            return (Criteria) this;
        }

        public Criteria andRefundDepositNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refund_deposit not between", value1, value2, "refundDeposit");
            return (Criteria) this;
        }

        public Criteria andDepositBalanceIsNull() {
            addCriterion("deposit_balance is null");
            return (Criteria) this;
        }

        public Criteria andDepositBalanceIsNotNull() {
            addCriterion("deposit_balance is not null");
            return (Criteria) this;
        }

        public Criteria andDepositBalanceEqualTo(BigDecimal value) {
            addCriterion("deposit_balance =", value, "depositBalance");
            return (Criteria) this;
        }

        public Criteria andDepositBalanceNotEqualTo(BigDecimal value) {
            addCriterion("deposit_balance <>", value, "depositBalance");
            return (Criteria) this;
        }

        public Criteria andDepositBalanceGreaterThan(BigDecimal value) {
            addCriterion("deposit_balance >", value, "depositBalance");
            return (Criteria) this;
        }

        public Criteria andDepositBalanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("deposit_balance >=", value, "depositBalance");
            return (Criteria) this;
        }

        public Criteria andDepositBalanceLessThan(BigDecimal value) {
            addCriterion("deposit_balance <", value, "depositBalance");
            return (Criteria) this;
        }

        public Criteria andDepositBalanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("deposit_balance <=", value, "depositBalance");
            return (Criteria) this;
        }

        public Criteria andDepositBalanceIn(List<BigDecimal> values) {
            addCriterion("deposit_balance in", values, "depositBalance");
            return (Criteria) this;
        }

        public Criteria andDepositBalanceNotIn(List<BigDecimal> values) {
            addCriterion("deposit_balance not in", values, "depositBalance");
            return (Criteria) this;
        }

        public Criteria andDepositBalanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("deposit_balance between", value1, value2, "depositBalance");
            return (Criteria) this;
        }

        public Criteria andDepositBalanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("deposit_balance not between", value1, value2, "depositBalance");
            return (Criteria) this;
        }

        public Criteria andRechargeIsNull() {
            addCriterion("recharge is null");
            return (Criteria) this;
        }

        public Criteria andRechargeIsNotNull() {
            addCriterion("recharge is not null");
            return (Criteria) this;
        }

        public Criteria andRechargeEqualTo(BigDecimal value) {
            addCriterion("recharge =", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeNotEqualTo(BigDecimal value) {
            addCriterion("recharge <>", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeGreaterThan(BigDecimal value) {
            addCriterion("recharge >", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("recharge >=", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeLessThan(BigDecimal value) {
            addCriterion("recharge <", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("recharge <=", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeIn(List<BigDecimal> values) {
            addCriterion("recharge in", values, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeNotIn(List<BigDecimal> values) {
            addCriterion("recharge not in", values, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("recharge between", value1, value2, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("recharge not between", value1, value2, "recharge");
            return (Criteria) this;
        }

        public Criteria andDaycardIncomeIsNull() {
            addCriterion("daycard_income is null");
            return (Criteria) this;
        }

        public Criteria andDaycardIncomeIsNotNull() {
            addCriterion("daycard_income is not null");
            return (Criteria) this;
        }

        public Criteria andDaycardIncomeEqualTo(BigDecimal value) {
            addCriterion("daycard_income =", value, "daycardIncome");
            return (Criteria) this;
        }

        public Criteria andDaycardIncomeNotEqualTo(BigDecimal value) {
            addCriterion("daycard_income <>", value, "daycardIncome");
            return (Criteria) this;
        }

        public Criteria andDaycardIncomeGreaterThan(BigDecimal value) {
            addCriterion("daycard_income >", value, "daycardIncome");
            return (Criteria) this;
        }

        public Criteria andDaycardIncomeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("daycard_income >=", value, "daycardIncome");
            return (Criteria) this;
        }

        public Criteria andDaycardIncomeLessThan(BigDecimal value) {
            addCriterion("daycard_income <", value, "daycardIncome");
            return (Criteria) this;
        }

        public Criteria andDaycardIncomeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("daycard_income <=", value, "daycardIncome");
            return (Criteria) this;
        }

        public Criteria andDaycardIncomeIn(List<BigDecimal> values) {
            addCriterion("daycard_income in", values, "daycardIncome");
            return (Criteria) this;
        }

        public Criteria andDaycardIncomeNotIn(List<BigDecimal> values) {
            addCriterion("daycard_income not in", values, "daycardIncome");
            return (Criteria) this;
        }

        public Criteria andDaycardIncomeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("daycard_income between", value1, value2, "daycardIncome");
            return (Criteria) this;
        }

        public Criteria andDaycardIncomeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("daycard_income not between", value1, value2, "daycardIncome");
            return (Criteria) this;
        }

        public Criteria andIncomeIsNull() {
            addCriterion("income is null");
            return (Criteria) this;
        }

        public Criteria andIncomeIsNotNull() {
            addCriterion("income is not null");
            return (Criteria) this;
        }

        public Criteria andIncomeEqualTo(BigDecimal value) {
            addCriterion("income =", value, "income");
            return (Criteria) this;
        }

        public Criteria andIncomeNotEqualTo(BigDecimal value) {
            addCriterion("income <>", value, "income");
            return (Criteria) this;
        }

        public Criteria andIncomeGreaterThan(BigDecimal value) {
            addCriterion("income >", value, "income");
            return (Criteria) this;
        }

        public Criteria andIncomeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("income >=", value, "income");
            return (Criteria) this;
        }

        public Criteria andIncomeLessThan(BigDecimal value) {
            addCriterion("income <", value, "income");
            return (Criteria) this;
        }

        public Criteria andIncomeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("income <=", value, "income");
            return (Criteria) this;
        }

        public Criteria andIncomeIn(List<BigDecimal> values) {
            addCriterion("income in", values, "income");
            return (Criteria) this;
        }

        public Criteria andIncomeNotIn(List<BigDecimal> values) {
            addCriterion("income not in", values, "income");
            return (Criteria) this;
        }

        public Criteria andIncomeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("income between", value1, value2, "income");
            return (Criteria) this;
        }

        public Criteria andIncomeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("income not between", value1, value2, "income");
            return (Criteria) this;
        }

        public Criteria andTimesIsNull() {
            addCriterion("times is null");
            return (Criteria) this;
        }

        public Criteria andTimesIsNotNull() {
            addCriterion("times is not null");
            return (Criteria) this;
        }

        public Criteria andTimesEqualTo(Date value) {
            addCriterionForJDBCDate("times =", value, "times");
            return (Criteria) this;
        }

        public Criteria andTimesNotEqualTo(Date value) {
            addCriterionForJDBCDate("times <>", value, "times");
            return (Criteria) this;
        }

        public Criteria andTimesGreaterThan(Date value) {
            addCriterionForJDBCDate("times >", value, "times");
            return (Criteria) this;
        }

        public Criteria andTimesGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("times >=", value, "times");
            return (Criteria) this;
        }

        public Criteria andTimesLessThan(Date value) {
            addCriterionForJDBCDate("times <", value, "times");
            return (Criteria) this;
        }

        public Criteria andTimesLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("times <=", value, "times");
            return (Criteria) this;
        }

        public Criteria andTimesIn(List<Date> values) {
            addCriterionForJDBCDate("times in", values, "times");
            return (Criteria) this;
        }

        public Criteria andTimesNotIn(List<Date> values) {
            addCriterionForJDBCDate("times not in", values, "times");
            return (Criteria) this;
        }

        public Criteria andTimesBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("times between", value1, value2, "times");
            return (Criteria) this;
        }

        public Criteria andTimesNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("times not between", value1, value2, "times");
            return (Criteria) this;
        }

        public Criteria andInsertTimeIsNull() {
            addCriterion("insert_time is null");
            return (Criteria) this;
        }

        public Criteria andInsertTimeIsNotNull() {
            addCriterion("insert_time is not null");
            return (Criteria) this;
        }

        public Criteria andInsertTimeEqualTo(Date value) {
            addCriterion("insert_time =", value, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeNotEqualTo(Date value) {
            addCriterion("insert_time <>", value, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeGreaterThan(Date value) {
            addCriterion("insert_time >", value, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("insert_time >=", value, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeLessThan(Date value) {
            addCriterion("insert_time <", value, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeLessThanOrEqualTo(Date value) {
            addCriterion("insert_time <=", value, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeIn(List<Date> values) {
            addCriterion("insert_time in", values, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeNotIn(List<Date> values) {
            addCriterion("insert_time not in", values, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeBetween(Date value1, Date value2) {
            addCriterion("insert_time between", value1, value2, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeNotBetween(Date value1, Date value2) {
            addCriterion("insert_time not between", value1, value2, "insertTime");
            return (Criteria) this;
        }

        public Criteria andMonthcardIncomeIsNull() {
            addCriterion("monthcard_income is null");
            return (Criteria) this;
        }

        public Criteria andMonthcardIncomeIsNotNull() {
            addCriterion("monthcard_income is not null");
            return (Criteria) this;
        }

        public Criteria andMonthcardIncomeEqualTo(BigDecimal value) {
            addCriterion("monthcard_income =", value, "monthcardIncome");
            return (Criteria) this;
        }

        public Criteria andMonthcardIncomeNotEqualTo(BigDecimal value) {
            addCriterion("monthcard_income <>", value, "monthcardIncome");
            return (Criteria) this;
        }

        public Criteria andMonthcardIncomeGreaterThan(BigDecimal value) {
            addCriterion("monthcard_income >", value, "monthcardIncome");
            return (Criteria) this;
        }

        public Criteria andMonthcardIncomeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("monthcard_income >=", value, "monthcardIncome");
            return (Criteria) this;
        }

        public Criteria andMonthcardIncomeLessThan(BigDecimal value) {
            addCriterion("monthcard_income <", value, "monthcardIncome");
            return (Criteria) this;
        }

        public Criteria andMonthcardIncomeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("monthcard_income <=", value, "monthcardIncome");
            return (Criteria) this;
        }

        public Criteria andMonthcardIncomeIn(List<BigDecimal> values) {
            addCriterion("monthcard_income in", values, "monthcardIncome");
            return (Criteria) this;
        }

        public Criteria andMonthcardIncomeNotIn(List<BigDecimal> values) {
            addCriterion("monthcard_income not in", values, "monthcardIncome");
            return (Criteria) this;
        }

        public Criteria andMonthcardIncomeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("monthcard_income between", value1, value2, "monthcardIncome");
            return (Criteria) this;
        }

        public Criteria andMonthcardIncomeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("monthcard_income not between", value1, value2, "monthcardIncome");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}